DicomObjects.COM.V8
In This Topic
    Date and Time Formats
    In This Topic

    In general dates and times are handled correctly by the objects in this collection, all necessary conversions being performed.  This means that:

    There is, however, an anomaly in the DICOM standard, allowing dates and times to contain ‘range’ values in the forms ‘value-value’ ‘-value’ or ‘value-‘.  Such constructs are not easily handled by the mechanisms above, and therefore, in order to allow such values to be used in queries (both outgoing and incoming), any date or time value which cannot be recognised will normally be stored and passed on as a simple string.

    Applications creating such ranges will need to create them directly in a form such as   ‘19810101-19811231’, and they may also be interpreted this way if required, but as of version 4.1, DicomObjects provides the DateTimeFrom and DateTimeTo properties, which simplify this process for programmers writing SCPs.